﻿@using FCZLM.Core.Models
@using Microsoft.AspNetCore.Http
@model Users
@{
    var useraddress= ViewBag.UserAddress;
}
 <div class="pnt">
   <div class="pntLeft">
    <h2 class="Title">用户中心
    
    </h2>
   </div><!--pntLeft/-->
   <div class="pntRight">
    <ul class="nav">
     <li><a href="/home/index">商城首页</a></li>
     <li><a href="/product/index">商品中心</a></li>
     <li><a href="/news/index">新闻中心</a></li>
     <li> @if(@Context.Session.GetString(key:"user")==null){
							 <a href="/login/index">用户中心</a>
						}else{
							
							 <a href="/user/index">用户中心</a>
							
						}   </li>
     <li><a href="/contact/index">联系我们</a></li>
     <div class="phone">TEL：021-12345678</div>
    </ul><!--nav/-->
   </div><!--pntRight/-->
   <div class="clears"></div>
  </div><!--pnt/-->
  <div class="cont">
   <div class="contLeft" id="contLeft">
    <h3 class="leftTitle">用户中心</h3>
    <dl class="helpNav vipNav">
     <dt>我的主页</dt>
      <dd>
       <a href="/user/index" class="vipCur">个人中心</a>
       <a href="/order/index">我的订单</a>
       <a href="/shoppingcart/index">我的购物车</a>
      </dd>
     
      <dt>客户服务</dt>
      <dd>
      <a href="/message/index">在线留言</a>
       
       
      </dd>
      
    </dl><!--helpNav/-->
   </div><!--contLeft/-->
   <div class="contRight">
    <h1 class="vipName"><span>用户名：</span> <strong class="vipUp">[个人信息]</strong></h1>
    <table class="vipMy">
     <tr>
      <th>用户名</th>
      <th>电话</th>
      <th>邮箱</th>
      <th>地址</th>
     </tr>
     <tr>
      <td>@Model.UserName</td>
      <td>@Model.Phone</td>
      
      <td>@Model.Email</td>
      <td>@useraddress</td>
     </tr>
    </table><!--vipMy/-->
    <div class="address">
    <div class="addList">
     <label><span class="red">* </span>用户名:</label>
     <input type="text" value="@Model.UserName"/>
    </div><!--addList-->
    <div class="addList">
     <label><span class="red">* </span>详细地址:</label>
     <input type="text" value="@useraddress" />
    </div><!--addList-->
   
    <div class="addList">
     <label><span class="red">* </span>手机号码:</label>
     <input type="text"  value="@Model.Phone"/> 
    </div><!--addList--> 
   
    <div class="addList2">
     <input type="image" src="images/baocun.png" width="79" height="30" />
    </div><!--addList2/-->
   </div><!--address/-->
   </div><!--contRight/-->
   </div>
   <div class="clears"></div>
